package com.fudian.spark_platform

import org.ansj.domain.Result
import org.ansj.domain.Term
import org.ansj.library.DicLibrary
import org.ansj.splitWord.analysis.DicAnalysis
import org.nlpcn.commons.lang.tire.domain.Forest
import com.fudian.spark_platform.MLUtils._

object testAnsj{
    def main(args: Array[String]) {
        loadANSJDict()
//        DicLibrary.insert(DicLibrary.DEFAULT,"最高达","n",1000)
        val res = DicAnalysis.parse("我最高达180厘米");
        System.out.println(res)
    }
}